import instance from "@/utils/http.js";
import qs from "qs";

export default{
  
  getBedDetailsList(data) {
    return instance.get("/beddetails/listBedDetailsVoPage?"+qs.stringify(data));
  },
  updateBedDetails(data) {
    return instance.put("/beddetails/updateBedDetails",data);
  } ,
  getRoomList(){
    return instance.get("/room/listRoom");
  },
  getBedList(data){
    return instance.get("/bed/findBed?roomNo="+data);
  },
  exchangeBed(data){
    return instance.put("/beddetails/exchangeBed",data);
  }
}